<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>话题中心 - Qwen Coder</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <!-- Three.js宇宙背景容器 -->
    <div id="background-container"></div>
    
    <!-- 主要内容 -->
    <div class="main-container">
        <!-- 头部导航 -->
        <header class="site-header">
            <div class="container">
                <div class="header-content">
                    <div class="logo">
                        <h1>Qwen Coder</h1>
                    </div>
                    <nav class="main-nav">
                        <ul>
                            <li><a href="index.html">首页</a></li>
                            <li><a href="topics.html" class="active">话题中心</a></li>
                            <li><a href="blog.html">博客文章</a></li>
                            <li><a href="discussions.html">讨论串</a></li>
                            <li><a href="profile.html">个人资料</a></li>
                        </ul>
                    </nav>
                    <div class="user-actions">
                        <button id="new-post-btn" class="glow-button">发帖</button>
                    </div>
                </div>
            </div>
        </header>

        <!-- 页面内容 -->
        <main class="site-main">
            <div class="container">
                <section class="topics-header">
                    <h2>热门话题</h2>
                    <p>探索Qwen Coder社区中最活跃的技术话题</p>
                </section>

                <section class="topics-grid">
                    <div class="content-card">
                        <h3>人工智能与机器学习</h3>
                        <p>讨论AI算法、深度学习框架、神经网络等前沿技术</p>
                        <div class="topic-stats">
                            <span>帖子: 1240</span>
                            <span>关注者: 8920</span>
                        </div>
                    </div>
                    
                    <div class="content-card">
                        <h3>Web开发技术</h3>
                        <p>前端框架、后端架构、全栈开发最佳实践</p>
                        <div class="topic-stats">
                            <span>帖子: 2100</span>
                            <span>关注者: 15430</span>
                        </div>
                    </div>
                    
                    <div class="content-card">
                        <h3>区块链与加密货币</h3>
                        <p>分布式账本技术、智能合约、DeFi等话题</p>
                        <div class="topic-stats">
                            <span>帖子: 870</span>
                            <span>关注者: 5620</span>
                        </div>
                    </div>
                    
                    <div class="content-card">
                        <h3>移动应用开发</h3>
                        <p>iOS、Android、跨平台开发解决方案</p>
                        <div class="topic-stats">
                            <span>帖子: 1560</span>
                            <span>关注者: 9870</span>
                        </div>
                    </div>
                    
                    <div class="content-card">
                        <h3>云计算与DevOps</h3>
                        <p>云服务、容器化、持续集成与部署</p>
                        <div class="topic-stats">
                            <span>帖子: 980</span>
                            <span>关注者: 6450</span>
                        </div>
                    </div>
                    
                    <div class="content-card">
                        <h3>网络安全</h3>
                        <p>信息安全、漏洞防护、加密技术讨论</p>
                        <div class="topic-stats">
                            <span>帖子: 750</span>
                            <span>关注者: 4210</span>
                        </div>
                    </div>
                </section>
            </div>
        </main>

        <!-- 全屏发帖编辑器 -->
        <div id="post-editor" class="fullscreen-editor">
            <div class="editor-container">
                <div class="editor-header">
                    <h2>创建新帖子</h2>
                    <div class="editor-actions">
                        <button id="close-editor" class="icon-button">✕</button>
                    </div>
                </div>
                <div class="editor-content">
                    <input type="text" placeholder="输入标题..." class="editor-title">
                    <textarea placeholder="分享你的想法..." class="editor-body"></textarea>
                </div>
                <div class="editor-footer">
                    <button class="glow-button">发布</button>
                </div>
            </div>
        </div>
    </div>

    <!-- 引入Three.js -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
    <!-- 引入主要脚本 -->
    <script src="js/main.js"></script>
</body>
</html>